class CreatePrerequisiteTable < ActiveRecord::Migration
  def self.up
    create_table :prerequisites do |t|
      t.column  :course_id,       :integer, :null => false
      t.column  :prerequisite_id, :integer, :null => false
    end
  end

  def self.down
    drop_table :prerequisites
  end
end